Add Log View toggle and log format customization for Git and Hg.
authorChong Yidong <cyd@stupidchicken.com>
Mon, 14 Feb 2011 01:49:24 +0000 (20:49 -0500)
committerChong Yidong <cyd@stupidchicken.com>
Mon, 14 Feb 2011 01:49:24 +0000 (20:49 -0500)
commit4d8076f3135886eda6cbf49032d033e038a8a69a
tree3c428b33894f7b5f78d450a5610a9d8355088b5c
parenta0269b4a96d3d30c604d60e2949886c5085b805b
Add Log View toggle and log format customization for Git and Hg.

* lisp/vc/vc-git.el (vc-git-root-log-format): New option for
customizing log format.
(vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
(vc-git-log-view-mode): Use it.
(vc-git-expanded-log-entry): New function.
(vc-git-log-view-mode): Use it.  Truncate lines in root log.

* lisp/vc/vc-hg.el (vc-hg-root-log-template): New option for
customizing log format.
(vc-hg-print-log): Use it.
(vc-hg-expanded-log-entry): New function.
(vc-hg-log-view-mode): Use vc-hg-root-log-template and
vc-hg-expanded-log-entry.  Truncate lines in root log.

* lisp/vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.

* lisp/vc/log-view.el (log-view-mode-menu): Add
log-view-toggle-entry-display.
etc/NEWS
lisp/ChangeLog
lisp/vc/log-view.el
lisp/vc/vc-bzr.el
lisp/vc/vc-git.el
lisp/vc/vc-hg.el